﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Ext.Master"  AutoEventWireup="true" CodeBehind="Editor.aspx.cs" Inherits="MVCnExt.Views.Form.Editor" %>

<asp:Content ID="aboutContent" ContentPlaceHolderID="MainContent" runat="server">
    
    <mvc:ExtWindow ID="htmleditorWindow" autoHeight="true" title="HTML Editor Example" width="650" runat="server">
        <items>
            <mvc:ExtFormPanel border="false" bodyStyle="padding:10px;" ID="editorTest" runat="server">
                <items>
                    <mvc:ExtTextField ID="textField" runat="server" fieldLabel="Title" name="title" value="Title example"></mvc:ExtTextField>
                    <mvc:ExtHTMLEditor ID="editor" runat="server" name="htmlCode" fieldLabel="HTML Editor" value="Content <b>example</b>"></mvc:ExtHTMLEditor>                
                </items>                
            </mvc:ExtFormPanel>
        </items>
    </mvc:ExtWindow>
    <mvc:ExtOnReady ID="windowOnReady" runat="server">
        <script>
            htmleditorWindow.show();
        </script>
    </mvc:ExtOnReady>
</asp:Content>
